package com.hangkong.service.impl;

import com.hangkong.dao.passengerinfoMapper;
import com.hangkong.service.PassengerInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.sql.Timestamp;

/**
 * Created by wangshuai on 2017/9/4.
 */

@Service
@Transactional(rollbackFor = Exception.class)
public class PassengerInfoServiceImpl implements PassengerInfoService {
    
    @Resource
    private passengerinfoMapper passengerinfoMapper;


    public Integer insertPassenger(String s, String arrayZjlx, String s1, String orderId, Timestamp timeStamp) {
        return passengerinfoMapper.insertPassenger(s,arrayZjlx,s1,orderId,timeStamp);
    }
}
